package hzjbbis;

import java.io.File;   
import java.io.IOException;   
  
public class update {   
  
    /**  
     * @param args  
     */  
    public static void main(String[] args) {   
    //  String updateCmd="cmd /k copy D:\\app1.class D:\\work\\workspace\\UpdateModule\\doUpdate /y";   
        //String startCmd="cmd /k java -cp D:\\test doUpdate.test";   
         String workDir=System.getProperty("user.dir");   
        System.out.println(workDir);   
        String startCmd="notepad";   
  
        Process p1=null;   
        Process p2=null;   
        try {   
        //  p1 = Runtime.getRuntime().exec(updateCmd);   
            p2=Runtime.getRuntime().exec(startCmd);   
        } catch (IOException e) {   
            // TODO �Զ���� catch ��   
            e.printStackTrace();
        }   
  
    }   
  
}  
